/**
 *create by Jancheng ON 2019/9/9
 * 3D模型像机工具
 * */
import * as THREE from 'three';
// 实例化相机
function initCamera(fov = 45, aspect = 0.5, near = 1, far = 10000) {
  const camera = new THREE.PerspectiveCamera(fov, aspect, near, far);
  // camera.position.set(-128.6, 94.6, -142);
  camera.lookAt(new THREE.Vector3(0, 0, 0));
  return camera;
}
export default {
  initCamera,
};
